package com.store.orm.common;

/**
 * 关键字类，包含了 MySQL、Java和键盘常用关键字
 *
 * @author 宫静雨
 * @version 1.0
 */
public final class KeyWord {
    /*                     MySQL 关键字                     */
    public static final String CREATE = "CREATE ";
    public static final String DROP = "DROP ";
    public static final String IF = "IF ";
    public static final String PRIMARY_KEY = " PRIMARY KEY ";
    public static final String FOREIGN_KEY = "FOREIGN KEY ";
    public static final String REFERENCES = " REFERENCES ";
    public static final String INDEX = "INDEX ";
    public static final String AUTO_INCREMENT = " AUTO_INCREMENT ";
    public static final String EXISTS = " EXISTS ";
    public static final String NOT_EXISTS = " NOT EXISTS ";
    public static final String NOT_NULL = " NOT NULL ";
    public static final String TABLE = " TABLE ";
    public static final String DEFAULT = " DEFAULT ";
    public static final String COMMENT = " COMMENT ";
    public static final String ALERT = "ALERT ";
    public static final String SELECT = "SELECT ";
    public static final String INSERT_INTO = "INSERT INTO ";
    public static final String VALUES = "VALUES";
    public static final String DELETE = "DELETE";
    public static final String UPDATE = "UPDATE ";
    public static final String SET = "SET ";
    public static final String WHERE = " WHERE ";
    public static final String IN = " IN ";
    public static final String NOT_IN = " NOT IN ";
    public static final String AND = " AND ";
    public static final String OR = " OR ";
    public static final String UNIQUE = " UNIQUE ";
    public static final String ORDER_BY = " ORDER BY ";
    public static final String GROUP_BY = " GROUP BY ";
    public static final String HAVING = "HAVING ";
    public static final String LEFT_JOIN = " LEFT JOIN ";
    public static final String RIGHT_JOIN = " RIGHT JOIN ";
    public static final String INNER_JOIN = " INNER JOIN ";
    public static final String LIMIT = " LIMIT ";
    public static final String LIKE = "LIKE ";
    public static final String FROM = " FROM ";
    public static final String AS = " AS ";
    public static final String ON = " ON ";
    public static final String COUNT = "COUNT";
    public static final String MAX = "MAX";
    public static final String MIN = "MIN";
    public static final String AVG = "AVG";
    public static final String SUM = "SUM";

    /**/
    public static final String LEFT_ROUND_BRACKET = "(";
    public static final String RIGHT_ROUND_BRACKET = ")";
    public static final String LEFT_BIG_BRACKET = "{";
    public static final String RIGHT_BIG_BRACKET = "}";
    public static final String CRLF = "\r\n";
    public static final String TAB = "    ";
    public static final String SEMICOLON = ";";
    public static final String COMMA = ",";
    public static final String BLANK = " ";
    public static final String SINGLE_QUOTES = "'";
    public static final String DOUBLE_QUOTES = "\"";
    public static final String MYSQL_QUOTES = "`";
    public static final String PER_CENT = "%";
    public static final String POUND = "#";
    public static final String QUESTION = "?";
    public static final String UNDERLINE = "_";
    public static final String DOT = ".";
    public static final String EQUAL_TO = " = ";

    /*                         Java                             */
    public static final String IMPLEMENT = " implements ";
    public static final String PUBLIC = "public ";
    public static final String CLASS = "class ";
    public static final String PACKAGE = "package ";
    public static final String PRIVATE = "private ";
    public static final String PROTECTED = "protected ";
    public static final String SERIALIZABLE = " Serializable ";
    public static final String VOID = "void ";
    public static final String RETURN = "return ";
    public static final String THIS = "this";

}